
'''
Testing the jobdef
'''
from individual import Individual
from slave_tasks.dev import *
from slave_tasks.eval import *
from slave_tasks.feedback import *
import const

pop = []
for i in range(const.POP_SIZE):
    pop.append(Individual())
print "pop size = " + str(len(pop))

dev_task = DevTask()
pop = dev_task.__execute__(None, pop)
print "Done Development!"

task = EvalSimilarityTask() 
pop = task.__execute__(None, pop) 
print 'Done EvalSimilarityTask!' 

feedback_task = FeedbackTask()
pop = feedback_task.__execute__(None, pop)
print "Done Feedback!"
